﻿<html lang="en">

<head>
  <title><%= "信息登记系统" %></title>
  <meta charset="UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <link rel="stylesheet" href="/static/login/bootstrap.min.css"/>
  <link rel="stylesheet" href="/static/login/css/camera.css"/>
  <link rel="stylesheet" href="/static/login/bootstrap-responsive.min.css"/>
  <link rel="stylesheet" href="/static/login/matrix-login.css"/>
  <link href="/static/login/font-awesome.css" rel="stylesheet"/>
  <script src="/static/js/jquery-1.7.2.js"></script>
  <script src="/static/js/bootstrap.min.js"></script>
  <script src="/static/login/js/jquery.easing.1.3.js"></script>
  <script src="/static/login/js/jquery.mobile.customized.min.js"></script>
  <script src="/static/login/js/camera.min.js"></script>
  <script src="/static/login/js/templatemo_script.js"></script>
  <script type="text/javascript" src="/static/js/jquery.tips.js"></script>
  <script type="text/javascript" src="/static/js/jquery.cookie.js"></script>
</head>
<body>
<div style="width: 100%; text-align: center; margin: 0 auto; position: absolute;">
  <div id="loginbox">
    <!--<form action="" method="post" name="loginForm" id="loginForm">-->
      <%= form_for(User.new, url: user_session_path) do |f| %>
        <input type="hidden" name="rucaptcha_check" value="true">
      <div class="control-group normal_text">
        <h3>
          <img src="/static/login/logo.png" alt="Logo"/>
        </h3>
      </div>
      <div class="control-group">
        <div class="controls">
          <div class="main_input_box">
							<span class="add-on bg_lg"><i><img height="37"
                                                 src="/static/login/user.png"/></i></span>
            <input type="text"
                  value="<%= flash[:mobile] if flash[:mobile].present?%>" name="user[mobile]"  placeholder="手机号" required data-rule-mobile="true" data-msg-required="请输入手机号" data-msg-mobile="请输入正确格式" />
          </div>
        </div>
      </div>
      <div class="control-group">
        <div class="controls">
          <div class="main_input_box">
							<span class="add-on bg_ly"><i><img height="37"
                                                 src="/static/login/suo.png"/></i></span>
            <input type="password" name="user[password]" value="" placeholder="请输入密码" required id="password" minlength="6" data-msg-minlength="至少输入6个字符"/>
          </div>
        </div>
      </div>
      <!--<div style="float: right; padding-right: 10%;">-->
        <!--<div style="float: left; margin-top: 3px; margin-right: 2px;">-->
          <!--<font color="white">记住密码</font>-->
        <!--</div>-->
        <!--<div style="float: left;">-->
          <!--<input name="form-field-checkbox" id="saveid" type="checkbox"-->
                 <!--onclick="savePaw();" style="padding-top: 0px;"/>-->
        <!--</div>-->
      <!--</div>-->
      <div class="form-actions">
        <div style="width: 86%; padding-left: 8%;">


          <!--<span class="pull-right" style="padding-right: 3%;"><a-->
          <!--href="javascript:quxiao();" class="btn btn-success">取消</a></span>-->

          <input type="submit" class="flip-link btn btn-info" value="登录" style="cursor: pointer">
        </div>
      </div>
    <!--</form>-->
        <% end %>

    <div class="controls">
      <div class="main_input_box">
        <font color="white"><span id="nameerr">Copyright ©</span></font>
      </div>
    </div>
  </div>
</div>
<div id="templatemo_banner_slide" class="container_wapper">
  <div class="camera_wrap camera_emboss" id="camera_slide">
    <div data-src="/static/login/images/banner_slide_01.jpg"></div>
    <div data-src="/static/login/images/banner_slide_02.jpg"></div>
    <div data-src="/static/login/images/banner_slide_03.jpg"></div>
  </div>
  <!-- #camera_wrap_3 -->
</div>
</body>

</html>